package com.wondertek.poms.dao.repo;

import com.wondertek.poms.dao.po.Playbill;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IPlaybillDao extends JpaRepository<Playbill,Long> {

    List<Playbill> findAllByContentId(String contentId);

    void deleteAllByContentId(String contentId);

 }
